import copyText from './common/copyText'
import { hasPermi, hasNoPermi, hasRoles, hasNoRoles } from './permission'
import { App } from 'vue'

export default (app: App) => {
  app.directive('copyText', copyText)
  app.directive('hasPermi', hasPermi)
  app.directive('hasNoPermi', hasNoPermi)
  app.directive('hasRoles', hasRoles)
  app.directive('hasNoRoles', hasNoRoles)
}
